<template>
    <a-tabs v-model:value="props.value" :disabled="props.disabled">
      <a-tab-pane v-for="option in options" :key="option.value" :tab="option.label" :value="option.value" />
    </a-tabs>
  </template>
  
  <script setup>
  import { defineProps, ref } from 'vue';
  
  const props = defineProps({
    value: String,
    options: Array,
    disabled: {
      type: Boolean,
      default: false
    }
  });
  
  const valueRef = ref(props.value);
  </script>